tools: update ocamlfind handling
authorOlaf Hering <olaf@aepfle.de>
Tue, 5 Feb 2013 11:31:11 +0000 (11:31 +0000)
committerOlaf Hering <olaf@aepfle.de>
Tue, 5 Feb 2013 11:31:11 +0000 (11:31 +0000)
commita2a9b63b48a0f3440929cad1d60c691900430c3d
treeca864d2b64a33ef63275935121c402b083fbbd93
parentc23e8e7d5082cbf68611135af24d4a8ec38cb708
tools: update ocamlfind handling

configure checks just for ocamlc, but the tools in tools/ocaml depend
also on ocamlfind. On my workstation I have just ocamlc installed, but
no ocamlfind. As a result make will fail.

Update configure.ac to check also for OCAMLFIND, update various
Makefiles and replace hardcoded ocamlfind string with $(OCAMLFIND)

Please rerun autogen.sh after applying this patch.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/configure
tools/configure.ac
tools/ocaml/common.make
tools/ocaml/libs/eventchn/Makefile
tools/ocaml/libs/mmap/Makefile
tools/ocaml/libs/xb/Makefile
tools/ocaml/libs/xc/Makefile
tools/ocaml/libs/xl/Makefile
tools/ocaml/libs/xs/Makefile